You could make the option to turn it on or off with a group. Here:
on :input::{ if ($left($1,1) == /) || ($left($1,1) == !) { goto last } msg $active 9 $+ $1- halt :last }
And you can turn it on or off by using the disable/enable commands.