Skip to main content

Comments

Rell supports single-line and multi-line (block) comments.

Single-line comments

Use // to introduce a comment that spans the rest of the line.

print("Hello"); // Some comment

Multi-line comments

Enclose comments within /* and */ to extend them across multiple lines.

print("Hello"/*, "World"*/);
/*
print("Bye");
*/