I use scripts for documentation, via /*comments*/. These "scripts" have nothing else in them but a single, usually long, comment.
To avoid a syntax error I must include one line of code. I always use this at the end:
Because these comment scripts are not meant to be executed that code is superfluous. Technically speaking, there is nothing syntactically wrong with having only a comment, so I suggest removing the code requirement, to permit comment-only scripts.
Thanks.