Sounds like you need to come up with a special "best practice" kind of rule for your developers: internal "eyes only" comments not deemed fit for viewing by the unwashed masses must be designated with a special, easy to parse token.
For example:
# this comment will survive the cut ### secret internal memo - the boss is an idiot! (must delete)
Then just strip all lines beginning with '###'.
In reply to Re: Stripping Comments from Source
by scorpio17
in thread Stripping Comments from Source
by Kob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |