Modifying standalone menu

My plugin has it own load/save options for patches. That’s why I want to remove the
‘Save current state…’ and ‘Load a saved state…’ from the menu in the release build.
Is there an elegant and quick solution possible?