There are two ways to write comments in the NetTradeX language:

  • // single-line comment
  • /* multiline comment */

Single-line comments start with a pair of symbols // and end at the end of the line. Multiline comments start with /* and end with */, such comments cannot be nested, but single-line comments don't have such a restriction.

The compiler ignores comments, and they are designed for the ease of reading the code by the user/programmer.