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

15 lines
521 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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
*/
```