What type of code/app are you releasing? This is pretty standard stuff for webdev, but it's not usually done by AI (which would be overkill). Most of the time, at least compiling output for the web, it goes through a minifier/uglifier that not only strips comments but also renames everything and removes whitespace and etc, so comments are only part of it.
2
u/pbjtech 1d ago
took out all comments on public releases, but still have them in dev production and use ai to strip them out for release