Excluding code from IDE

I'm mostly using this:

image

and doesn't cause a problem with try/catch.