Comments are allowed in Qore scripts; line comments are preceded by a hash "#", and block comments are made C-style, ex:
# this is a line comment /* this is a block comment */
For line comments, all text following a hash until the end-of-line character "\n" is considered a part of the comment.
For block comments, all text between the /* and */ is ignored by the parser.
Here is an example Qore script containing comments:
#!/usr/bin/qore
#
# these are line comments
# another line comment
/*
--- this text is in block comments
print("hello"); <- this won't get executed
--- because it's in the block comment
*/
There are no comments yet