Mr Assange is fearful that if he is extradited to Sweden he will then be forced to go to the USA and face punishment for publishing secret information about national security.
But Mr Assange, a 46-year-old Australian, has feared extradition to the U.S., and the death penalty, for publishing top-secret USA documents in 2010.
Australian-born Assange will eventually need to leave the embassy where he has been living since 2012, Moreno said at an event in Madrid.
"The only person I have never spoken to is Mr Assange", he added.
"In Ecuador there is no death penalty and we know that this possibility existed", Mr Moreno said.
"I have never been in favour of Mr Assange's activity", Mr Moreno said during a trip to Madrid, where he met Spain's King Felipe and Prime Minister Pedro Sanchez following a three-day visit to the UK.
WikiLeaks founder Julian Assange speaks on the balcony of the Embassy of Ecuador in London, Britain, May 19, 2017. "I have never supported the interception of private emails to be able to obtain information, regardless of how valuable it may be, to bring to light certain undesirable actions carried out by governments on people".
Ecuador's government has no desire that Assange remain "in asylum his whole life" and urged "a solution to a problem we inherited", the statement said.
Ecuadorean and British government sources have played down suggestions of any imminent movement to break the stalemate. We don't have any indication of timeframe.
"We are preparing to defend him in the British courts and will fight extradition to the US".
In March, Ecuador's government cut off Assange's internet connection after he complained about the arrest of a Catalan separatist politician on social media, despite promising not to interfere in other countries' affairs while seeking refuge in the embassy.
Swedish investigators dropped their case against Assange previous year but he chose to remain at the embassy as British authorities could still detain him for violating bail conditions.