China's official manufacturing PMI for June rose to 51.7, accelerating from May's 51.0 and beating a Reuters poll forecast.