Disable blueprint nodes based on configuration

Is there any way of only having nodes run in certain configurations (eg PIE, Standalone, Packaged) similar to wrapping a block of code in a #if in C++? I have several input nodes I use to toggle events manually instead of going through the correct process in game that I’d like to just disable so I don’t have to hunt them down and delete them before we ship.