Most portable generators state in the manual that you must remove the bonding jumper before connecting to building wiring.
I have also seen stand by gen-sets where the neutral & ground are bonded. I won't mention names but one comes with a transfer switch that does not switch the neutral.There is no mention of removing the jumper in the manual