I don't entirely know if China would choose Russia if ww3 broke out. Sure they are allies however I believe China would likely be it's own entity and tell both Russia and the U.S. to stay away.

But who the heck knows I suppose.