The
Range Comment
and
Line Comment
commands are context-sensitive; so when editing an HTML file, for example, they behave differently in HTML text and inline JavaScript.