I’ve just discovered something amazing in C (it also works in C++).
Since C comments cannot be nested, you can use /*/ to toggle “comment-mode”: The compiler will parse it as /* + / the first time and / + */ the second time.
|
|
It is obvious and stupid and amazing.