DEV Community

Discussion on: Using Single and Multiline Comments

Collapse
 
0x04 profile image
Oliver Kühn

Yeah, I do this since decades 🤓 nice to see it in the wild.

For /, /* comments you can save a key stroke:

//*
echo "Hello";
//*/
/*
echo "Hello";
//*/

I've always called that a scissor comment, but nobody understood what I meant 😅

Collapse
 
clsource profile image
Camilo

Thanks! Nice catch too 🔥