Files
mql5-skills/skills/mql5/references/docs/00-basis/0003-basis-syntax-commentaries.md
T
2026-06-23 21:47:51 +08:00

521 B

Comments

Multi-line comments start with the /* pair of symbols and end with the */ one. Such kind of comments cannot be nested. Single-line comments begin with the // pair of symbols and end with the newline character, they can be nested in other multi-line comments. Comments are allowed everywhere where the spaces are allowed, they can have any number of spaces in them.

Examples:

//--- Single-line comment
/*  Multi-
    line         // Nested single-line comment
    comment
*/