Is there any tool available that will automatically comment out (and uncomment) certain statements in code?
I have a form which has UI validations. But sometimes I need to bypass UI validation and enable server side validation. For that I have to manually comment and uncomment certain pieces of code, which becomes very tedious. Is there any tool available that can automate this task? The ideal tool would help me run a single command in terminal and it should get the job done.