News for hackers. Stuff that matters.
Re:HTML comments work in JavaScript too by galaxyLogic on Tuesday March 08, 2022 @10:38PM (#30610643)
> Commenting a comment is still a comment

But what about the below, does it work in your language? I assume it may work in some languages but not all.

/*

let a = 1;

/* a is one */

let b = 2;

*/

Re:HTML comments work in JavaScript too by dylan604 on Wednesday March 09, 2022 @12:46AM (#30611306)
I can definitely see where that could cause some issues.

Personally, I don't like the /**/ style comments either. I was just playing devil's advocate.