How can I add a comment in the script in Automator in OS X?
Based on the crickets chirping here, I'm going to guess that there are no built-in non-acting actions. There is a simple workaround, however:
Create a comments-only script
If you don't like the #
syntax, there's also bash multiline syntax…
…or for a more muted effect, the Run Javascript
and Run Applescript
panes use gray for comments…
Of course, any time your compilable "comment scripts" haven't yet compiled—such as just after opening—you'll get a lovely shade of purple instead of gray. Which could be kinda cool, depending on your preferences.