This tool is the new version of the Comments Remover extension with enhancements mentioned in release notes.
Active document before removing comments
Preview of comments remover diagnostic
Preview of diagnostic fix at document level
Preview of diagnostic fix at project level
Preview of diagnostic fix at solution level
Active document after removing comments
Note: In the above image the comment in line 1 is retained as it is file header whereas comments in lines 3, 4, 13, 21 and 26 are retained as they contain task list tokens. More details about task lists and their usages can be found here.