China's ministry of commerce has lashed out at the threat of US safeguard restrictions on four categories of its garment shipments.