in reply to Stripping Comments from Source
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 '###'.
|
|---|