China's consumer price index (CPI), a main gauge of inflation, edged up 0.2 percent year on year in May, the National Bureau of Statistics said Friday.