You also can't use comments on a single line, so that wouldnt work either.. why not just make it a /command?

/eval off | .... | /eval on

and potentially have it auto-reset when the script finishes processing.

I don't see what directives or comments give you that a command does not..