The same is in Norway, although one have to justify it. For example one cannot get a visa to China if one has a stamp from Taiwan. So if one needs to travel to both often, then one can apply for the second passport.
I don’t remember China asking if I’ve been to Taiwan. I’d be surprised too - there’s direct flights between the two. That said I normally visit China on a 168 hour transit visa and fly via Hong Kong, Tokyo or Seoul rather than the hassle of applying for a visa.