Disable compilation of script

Is there a quick way to disable compilation of a script that isn’t linked anywhere for debugging and unfinished scripts? Of course, I can always comment it out, but just wondering.

im not very good at script (mainly because im only 13), but the easiest would be to just comment it out.

You could use preprocessor guards with these.