Comments. Two forms of comments are supported: single-line comments and delimited comments
Two forms of comments are supported: single-line comments and delimited comments. Single-line comments start with the characters // and extend to the end of the source line. Delimited comments start with the characters /* and end with the characters */. Delimited comments may span multiple lines. comment: single-line-comment: input-characters: input-character: new-line-character: delimited-comment: delimited-comment-text: delimited-comment-section: asterisks: not-slash-or-asterisk: Comments do not nest. The character sequences /* and */ have no special meaning within a // comment, and the character sequences // and /* have no special meaning within a delimited comment. Comments are not processed within character and string literals. The example /* Hello, world program includes a delimited comment. The example // Hello, world program shows several single-line comments.
|