I added control bones to a rig in blender, is there a way to omit bones from export/import?

As I understand, adding bones change the skeleton and that’s an import No-no. Is there an option to omit bones, or am I going to have to just bake animation?