[TextEditor] Fix toggle line comment for JavaScript/TypeScript files.