China has vowed not to use or threaten to use nuclear weapons against non-nuclear-weapon states or nuclear-weapon-free zones.