The “Switch” object is essentially additional AI data that is within the file. No matter what objects are in the file — printable or not — you will always get this message when saving SVG this way.
Try the following method for exporting SVG:
Use File > Export > Export As…
* Check the “Use Artboards” option
* Select the SVG format option and click Export
* Styling: Presentation attributes
* Object IDs: Layer names
* Minify, Responsive: Both off