Comment

Source: reference-book. Raw markdown: /raw/docs/reference-book/11-misc/comment.md

Simorg provides three ways of adding comments in your code.

Single Line Comment

Using <<<//>>> operator one can initialize a single line comment.

// This is a single line comment

Close Comment Block

A comment block is shaped using a pair of comment block markers <<</*>>> and <<<*/>>>.

Anything wrapped inside them will be considered a comment.

/* 
This is a comment block
*/

Open Comment Block

It is also possible just to use <<< /* >>> to mark the beginning of a comment block. Without using the closing pair <<<*/>>>, all the next lines will be considered comment block until reaching the end of the file <<<EOF>>>.

:#myVar

/*
All the next lines will be considered a comment 
Until the EOF!