Not really, it is well alleged that CCP has a lot of military spending off the books. So the % figure of GDP we see might be higher.
Also, China's posturing is not just defensive but has an offensive side as well, as seen by the naval bases it has been trying to build across the world, even in Africa.