Checks for code that has been commented out.
Commented code is often meant to be removed, but kept by mistake.
-
Currently only checks for commented out statements in blocks.
-
Does not handle statements spanning multiple line comments, e.g.:
// dbg!( // x // );
// dbg!(x);
f(x);
Use instead:
f(x);