Switzerland has so far resisted the temptation to mirror targeted European Union sanctions against China.
Switzerland feared retaliatory measures from China but kept the decision quiet for undefined legal reasons, reports the NZZ am Sonntag newspaper. China’s ambassador to Bern, Wang Shihting, warned Switzerland last November not to impose sanctions. “Anyone who really cares about the friendly relations between the two countries and who makes responsible polities will not agree to the sanctions,” he said.
Regarding your last point, this is due to swiss neutrality: they don't export to countries in war. That's nothing new and is a fundamental principle of swiss neutrality.
While sitting safely in the middle of the EU. We should leverage that fact a lot more against that shitty tax haven. I wonder how the would feel about it if there aren't any open borders with the EU anymore lol.