Nothing is defined in EcmaScript itself. A syntactically invalid program does not start at all.
In HTML, </script><script> will close the current SCRIPT and open a new one, and failure of one content of the SCRIPT element for parsing will not cause the contents of the SCRIPT elements to not be parsed, since they are different programs.
If the previous content is always a line comment, as in your example, any line terminator will suffice, and EcmaScript line terminators will be
U+A \n U+D \r U+D,U+A \r\n U+2028 Line separator U+2029 Paragraph separator
in accordance with section 7.3 of the specification.
source share