I have a few config options in my application along the lines of
const bool ExecuteThis=true; const bool ExecuteThat=false;
and then code that
The easiest way is to stop writing unreachable code :D #DontDoThat