Let me see if I can understand what you want @GHNewbiee
You say there's a problem, because you want to be able to comment out a chunk of template literal, and there's currently no way to do that conveniently in JavaScript.
And, it's sounding like you want to be able to use such a feature without editor help (because you've turned down the option of having an editor automatically disable the ${} stuff when you push a comment hotkey)
Your proposed solution is to make "//* ... */"
deactivate any ${} stuff within a template literal. It also seems you want the actual "//* ... */"
text to still be part of the string, such that you need to comment the comment using the comment system of your language of choice.
ok. This is a solution. I don't find it to be the most ideal. Let me suggest an alternative.
The text ${''/* is a start of a comment.
The text */} is the end of a comment.
This is backwards compatible (you're not taking something that's already a valid string and turning it into something that means something else - which is @aclaymore's valid concern).
This is doable today.
It's a little more verbose, but this can be offset by the fact that you don't need to also wrap it in comments using the language of your choice, since the whole chunk will be removed from the string.
html`
<div>
${''/*
<span id="xyz">${content}</span>
*/}
</div>
`