Autofold and protect leading #@script pragmas.