Lack of this capability is damaging. Sometimes when I try to figure out what is wrong I have to comment huge section of code, lack of this simple capability seems weird
I can see how that can be annoying. Multiline comments are not possible because we want people to be able to use roc programs as scripts, so you can run them with ./script.roc
, which means all commented out lines need to start with #
. Most editors have a shortcut like Ctrl+/
on vscode to comment out your whole selection but I'm not sure if your editor will know to use the #
when you press the shortcut in a roc file.
Last updated: Jul 06 2025 at 12:14 UTC