best way for removing comment from shell scripts -- bash

Again a comment removal requirement from me, refer my previous problem & solution for removing comment from ruby scripts: http://www.unix.com/shell-programming-scripting/118296-best-way-removing-comment-ruby-program.html

This time, it is for stripping of comments from Shell Script. I search for the options in bash man page, also tried searching tools. Nothing worked out.

So somebody has personal experience/knowledge in removing comments from shell program can help me ? What is the tool i should use ?

Note: Kindly dont say "grep -v '#'" as i am looking for a more promising solution, and it should remove all kind of comments from a shell script and should not remove the code part wrongly.

Standard way to remove comments is:
grep -v "^#"
This will ensure that only lines which begins with '#' are removed and will not have any side effects

grep -v "^#[^!]" File_name

It would be better. It won't remove "#!".