I have to maintain a large old project project where my forerunners (for lack of version control) have turned large portions of code into comments. Now that we have everything in version control, I feel we no longer need these comments. The code in those comments has rotten anyway.
I would like to find the longest of those comments. It would be nice to have a way that gives me all files that have, let's say, more than 20 consecutive comment lines.
As far as I can tell only //
has been used. Finding /* */
is not necessary (probably even harmful because it'd find all the rotten javadoc... sigh).