clean and clear code for wordpress?

Hi

Please tell me is there any way to cleanup the code of wordpress blogs? I have few wordpress blogs and when I see the code, that is so complicated and there are a lot of commented codes inside my code. Also the code is too much and I want to make the clean and clearer.

Please help me on this.

Thank you.