hey!! u can use any editors... like editplus..or vi editor.. and just delete the comment part or u can write a script in php which reads each lines of the specified file and where ever u find a "#" u can delete it.
But i wonder why u wanna remove comments.... because they really help u in debugging .....
regards Kaushik