In Coyotescript, it is possible to add text throughout the script that will be ignored by the scripting system. This allows you to leave comments or general documentation inside your script, or temporarily disable lines of script without fully removing them.

For the inserted text to be ignored, the comments have to start with “//”. This can be done anywhere in an empty line, or at the end of a valid script line.



// say good day to the user!
print Good day

Output: “Good day”


$variable = 7
// $variable = 8
print $variable

Output: “7”