BEIJING/SINGAPORE, Nov 1 (Reuters) - China’s push to shift its food import sources since 2018 has put it in a better position to impose tit-for-tat tariffs on U.S. farm goods with less harm to its food security if trade friction with Washington flares after the U.S. presidential election.

The threat of a trade war looms for China, the world’s top importer of farm products such as soybeans and corn, with Republican candidate Donald Trump floating blanket 60% tariffs on Chinese goods in a bid to boost U.S. manufacturing.

His opponent Kamala Harris, a Democrat, is also expected to confront China on trade.

Since Trump was in the White House, China has slashed its dependence on U.S. farm goods in a concerted effort to beef up national security, including food self-sufficiency.