China's producer prices flat-lined in June on lower oil prices and weak global demand, fueling concerns that a slowdown in manufacturing from a bruising trade war will further drag on growth in the world's second-biggest economy.

The producer price index (PPI) showed no growth in June from a year earlier, the National Bureau of Statistics (NBS) said on Wednesday. That compared with a 0.6% rise in May and a gain of 0.3% forecast by economists in a Reuters poll.

The June PPI reading was the lowest since August 2016 when the index last fell year-on-year. Factory gate prices slowed from May as well, falling 0.3%.

On the other hand, June consumer price growth in annual terms matched a 15-month high seen in May as supply shortages triggered by the African swine fever outbreak and extreme weather conditions continued to push up pork and fruit prices.

A cooling in producer prices, seen as a gauge of industrial demand that gives momentum to investment and profits in the Chinese economy, may rekindle worries about deflation and prompt the authorities to launch more aggressive stimulus.

"The bigger picture is inflation, apart from food inflation, is actually pretty weak and with the economy continuing to cool, I think the return to factory-gate deflation is very likely," said Julian Evans-Pritchard, senior China economist at Capital Economics.

Tommy Xie, China economist at OCBC Bank in Singapore, also said he saw the risk of produce prices contracting in annual terms as early as next month.

Upstream sectors were particularly weak, with prices for oil and natural gas extraction down 1.8% from a year earlier, the NBS data showed. Price gains in the coal mining sector also eased.

Although Beijing and Washington reached another truce in their trade war last month, economists expect continuing pressure on the Chinese economy as manufacturers shift more production abroad to avoid U.S. tariffs on China-made goods.

China's factory activity shrank more than expected in June as tariffs and weaker domestic demand hit new orders for goods.

Beijing is fast-tracking more infrastructure projects but prices for some construction materials remain lackluster.

Spot prices for steel rebar in June lingered below the levels of a year earlier and may worsen due to seasonal slackening of construction activity amid high temperatures and rainfall in summer.

Chinese Premier Li Keqiang pledged earlier this month to implement financing tools including reserve requirement ratio cuts to support small and private firms, adding to expectations for further stimulus measures.

At the same time, however, he and other top policymakers have reiterated that China will not resort to large-scale stimulus.

Evans-Pritchard from Capital Economics said the government could adopt more monetary easing and off-budget fiscal support to bolster the economy.

"But I think the days of big drastic stimulus are probably over. The most we can hope for is really it (more government support) helps to dampen the headwinds and prevent the economy from slowing too sharply."