This is how my jmpKeywords.jsl looks like
{"If", "For", "For Each Row", "While", "Try", "New Window", "Function", "Panel Box",
"New Namespace", "New Table", "Define Class"}
Located in C:\Users\<USERNAME>\AppData\Roaming\SAS\JMP
And as @ErraticAttack mentioned Script Editor's code folding can be fairly problematic, usually code reformatting helps but sometimes you will have to re-open (and maybe then reformat) the code.
-Jarmo