I have a new portable generator that I will be using for standby power connected through a transfer switch to selected circuits in my home. I need to unbond the neutral by removing the neutral bonding strap. However, I will also be using the generator in stand alone situations where I need the neutral bonded and a separate generator ground. Since bonding and unbonding the generator requires pulling covers off to get to the jumper, I would like to put an external properly marked switch or junction box on the generator so that I can easily connect or disconnect the neutral bonding jumper. Would that be code compliant?