You can include descriptive or documentary comments in your JADE methods.
The types of comments that can be used in a method are as follows.
Comments beginning with double stroke character strings (//).
This type of comment continues only until the end of the line on which it appears.
Comments enclosed with stroke asterisk (/*) and asterisk stroke (*/) character strings.
This type of comment can span multiple lines.
In multiple-line comments, all text (including any double stroke (//) character string) that follows the stroke asterisk (/*) character string is ignored until the asterisk stroke (*/) character string is encountered.
The following example shows the use of single-line comments and embedded comments.
helloWorld(); vars count : Integer; begin // outputs "hello world" 10 times foreach count /* embedded comment */ in 1 to 10 do /* multiple line comment */ write "hello world"; endforeach; end;