The Labour leader said he was proud to live in a multi-cultural society and Mr Trump needed to “get over it and start living in one”.
Speaking on a visit to a refugee camp in Amman, Jordan, Mr Corbyn told Sky News: “I didn’t invite him, the prime minister did.
“Interestingly, it’s been downgraded time after time from a state visit to an official visit to a visit.
“So I’m not absolutely sure what he’s going to do on this very brief time he has in the UK.
“Donald Trump needs to understand that declaring a trade war by putting tariffs on aluminium and steel and then building up a series of tit-for-tat series of retaliations, in which the US retreats in on itself and starts a trade war with the rest of the world is going in a very bad and dangerous direction.”
He added: “I wouldn’t have invited him and I think the prime minister’s got ample reasons to withhold the invitation if she wants to.
“We need to say very clearly to Donald Trump, We live in a multicultural society, we’re proud of it.
“Get over it and start living in one yourself.”
Pushed on whether he would delay the visit if he were prime minister, Mr Corbyn said: “We’d have to change the date to a long way down the line.”
His comments came minutes before the US president stepped up a trade battle with the EU over import tariffs.
Mr Trump tweeted: “Based on the tariffs and trade barriers long placed on the US and it(s) great companies and workers by the European Union, if these tariffs and barriers are not soon broken down and removed, we will be placing a 20% tariff on all of their cars coming into the U.S. Build them here!”
Prime Minister Theresa May has ruled out delaying or scrapping the visit, but promised she will raise the controversial immigration policy with him on the visit, due to begin on 13 July.
She said on Wednesday: “The pictures of children being held in what appear to be cages are deeply disturbing.
“This is wrong, this is not something we agree with, this is not the UK’s approach.”