China will "absolutely not" fire the first shot in a trade war with the United States, its finance ministry said on Wednesday.