China's consumer price index was down 0.3% year-on-year in July, according to official statistics released on Wednesday.