Is there a way of repressing "keypath not found" error while keeping HKCU registry no keypath property?

I want to remove keypath property from a HKCU registry value, but this will cause "keypath not found/set" or similar error on validation.
So is there a way of repressing the error message while keeping keypath property not set in registry?