In Java, an ad-hoc format is used for comments that can be used to produce documentation. C#'s documentation comments uses an XML notation:
/// <summary> /// The inc method is used to increase the balance. /// </summary> /// <param name="amount"> /// The amount by which the balance is increased. /// </param> public void inc(int amount) ...