Kill region, save, run/compile/read, undo if needed. With undo tree (or if you add commit to the process above) there is no need to comment just one region to turn off something.
Optionally, convert the region into a separate function/method and just don't call it while checking.