rhai/doc/src/language/comments.md
2020-06-20 12:06:17 +08:00

463 B

Comments

{{#include ../links.md}}

Comments are C-style, including '/* ... */' pairs and '//' for comments to the end of the line. Comments can be nested.

let /* intruder comment */ name = "Bob";

// This is a very important comment

/* This comment spans
   multiple lines, so it
   only makes sense that
   it is even more important */

/* Fear not, Rhai satisfies all nesting needs with nested comments:
   /*/*/*/*/**/*/*/*/*/
*/