And China has no interest in going to war with the US. It'd be like trying to strangle the golden-egg laying goose. And also, America has a much more technologically advanced military. WE HAVE LASER MOUNTED WAR SHIPS
SpitFire is actually kinda right. If China attacks US soil, it'd be the equivalent of running head first into a wood chipper. The US has strong ties with the major European powers and an already overwhelming military force. With the largest naval force in the world and military tech steadily going towards every one of my geeky fantasies, China would be in trouble. But neither country would hit each other. The US doesn't want to because of China's ginormous military and China doesn't want to because it's getting a good deal from trade.