If you have a function like below in a .js/.ts file and try to collapse the function, the collapsed range ends at the start of the commented out code:
function test() {
someCode()
// someCommentedCode()
someOtherCode()
}


filing the issue here, because I'm noticing it in WWD and I'm unsure where this behavior is actually defined (WWD, TM4E, LSP4E, the JavaScript/TypeScript LSP, ...)