A paragraph tagged as script in [ParaTags] (see §30.2.1 Assigning HTML tags and attributes to paragraph formats) includes a type attribute that is always added in the opening tag:
[HTMLOptions] ; ScriptType = text/javascript (default) or other MIME type ScriptType = text/javascript
If you apply the [HTMLParaStyles]Comment attribute to such a paragraph, the script body begins and ends with automatic comment delimiters. See §30.2.4 Stripping paragraph properties.