No, that's wrong. Removing a door will also remove the service it's associated with. You should instead set code = 0, so the door will be there, but the open/close status won't be checked.
But why you want to do it in the hard way, editing the GSX.CFG file by hand ? It's far easier using the airplane customization page, with the option "Door with no open/close checks"