to avoid errors, perhaps something along the lines of

X g/$/v/$/a
this is a long block comment.
it has no effect.
.

X prevents ?no current file

there are probably even shorter variants

On Tue, Aug 3, 2021 at 5:31 PM <revcomninos@gmail.com> wrote:
On Tuesday, 3 August 2021, at 6:29 PM, fwrm wrote:
As for comments in scripts, if you use ssam(1) to run them the easiest way would be starting the lines you want to be ignored with a character that isn't a sam command (this will work because ssam sends stderr to /dev/null).
I am very grateful to you for this. Thanks so much.