Two standard C-style comments are supported: single-line and multi-line comments. Single-line comment starts with //
character sequence and continues to the end of the current line. Multi-line comments must be started with /*
sequence and terminated with */
sequence.
// Single-line comment
/* multi-line
(continued here)
comment */
Multi-line comments may be used “in-place”:
struct /* comment */ A
{
int /* another comment */ a;
};
Comments are completely ignored and removed from the document prior to compiling it.