In an interview with Fox News, President Donald Trump said that Puerto Rico's debt will have to wiped out.

"They owe a lot of money to your friends on Wall Street and we're going to have to wipe that out. You're going to say goodbye to that, I don't know if it's Goldman Sachs, but whoever it is you can wave goodbye to that," Trump said on Tuesday in an interview with Fox News, according to a Reuters report.

The White House didn't immediately return CNBC's emailed request for further details of Trump's proposal. Goldman Sachs didn't immediately return CNBC's request for a response on the president's comment.

Trump visited the island on Tuesday, two weeks after Maria destroyed Puerto Rico's entire infrastructure system, leaving nearly 3.5 million residents without power, and tens of thousands without clean water.

The official death toll more than doubled to 34, a spokesman for Governor Ricardo Rosello said on Tuesday, Reuters reported.