Comments
A comment is a piece of text that is ignored by the compiler. Comments may serve as extra documentation, or to temporarily disable a part of the code.
Line comments start with // and end with the end of the line. For example:
// End of scriptterminate_this_scriptOr:
terminate_this_script // End of scriptBlock comments start with /* and end with */. They can span multiple lines:
/* This is a multi-line comment. It spans multiple lines.*/Or used in the middle of the code:
set_time_of_day /* hours */ 12 /* minutes */ 30Block comments can not be nested. For example, the following code is invalid:
/* This is a comment /* This is a nested comment */ */