It's surprising because China has a billion people and a bunch of competing regional interests. Since WWII, the PRC has been at war or had armed conflict with India, Vietnam, the ROC, the UN (Korean war) and the USSR. There are also the ongoing territorial disputes in the South China Sea and continued border unrest on the Indian border.
France doesn't have any significant regional disputes around territory and hasn't been to war with its neighbours in about 75 years.
Yet France still has more nuclear warheads than China (officially, at least).