BEIJING  - Foreign direct investment (FDI) into China dropped by more than a sixth year-on-year to a two-year low in July, the government said Monday, but denied any link to Beijing's multiple probes into foreign companies.

FDI -- which excludes investment in financial sectors -- fell 16.95 percent in the month to $7.81 billion, the commerce ministry said, its lowest since July 2012, when it was $7.579 billion.

The fall saw FDI in the first seven months decline 0.35 percent to $71.14 billion, eliminating a small increase at the half-year stage.

Chinese authorities have in recent months launched anti-monopoly, pricing and other inquiries into foreign firms in sectors ranging from auto manufacturing and pharmaceuticals to baby milk.

The probes have raised concerns among investors that Beijing is targeting overseas companies. But commerce ministry spokesman Shen Danyang denied any connection between the investigations and the fall in FDI.

"It is only normal that there is volatility of FDI in individual months when China steps up efforts to balance the economic structure," he told reporters.

"It is not sufficient enough to reflect the general trend. It must not be linked to the anti-monopoly probes into some foreign invested companies or be associated with other baseless speculations."

"All market players should operate their business according to the law," he added. "They should be punished according to the law and be subject to appropriate legal penalties if they violate the law."

In the first seven months of the year, investment from Japan crashed 45.4 percent to $2.83 billion, with that from the EU slumping 17.5 percent to $3.83 billion and from the US down a similar 17.4 percent to $1.81 billion.

But investment from South Korea -- which has been enjoying closer diplomatic ties with China -- rose 34.6 percent to $2.92 billion, and from Britain, the home of troubled pharmaceutical giant GSK, soared 61.2 percent to $730 million.

For the current year as a whole, Shen said FDI is still expected to grow at a similar pace to 2013, when it rose 5.3 percent year-on-year in 2013 to $117.6 billion.

"Foreign companies will not be scared away by investigations into the cases," Shen added.

China's own overseas investment in non-financial sectors soared 84.9 percent year-on-year in July, to $9.21 billion, the ministry said.

For the first seven months of the year it was up 4.0 percent to $52.55 billion.

"This is the first growth since February this year, after the impact of big projects last year waned," the ministry said in a statement.

Chinese investment into the EU leaped by 293.1 percent year-on-year for the period, and into Japan by 160.9 percent, the ministry said, without giving totals.