Comments

You can insert comments anywhere in a resource. A double slash ("//") indicates that all remaining text on the same line of the file is a comment:

// Two slashes identify a comment
x = 7 // Comments can be on the same line as statements

You can also indicate that a block of text is a comment. To do so, add a forward slash-asterisk pair ("/*") to indicate the beginning of a comment block, and an asterisk-forward slash pair ("*/") to indicate the end of a comment block.

/* A forward slash, followed by an asterisk, indicates the beginning of a block of text that is to serve as a comment. To end the comment block, use an asterisk, followed by a forward slash.*/

Avoid putting three or more asterisks at the end of a line within a block comment. Doing so may cause the compiler and debugger to skip such lines in the numbering of lines.