Hamas police attempt to clear the road from protestors ahead of a convoy transporting United Nations Secretary General Antonio Guterres

UN chief Antonio Guterres called for the blockade of Gaza to be lifted Wednesday as he visited the Palestinian enclave enduring "one of the most dramatic humanitarian crises" he had seen.

The secretary general's comments came as he wrapped up his first visit to Israel and the Palestinian territories since taking office.

Repeatedly throughout the visit he had called for a two-state solution to the Israeli-Palestinian conflict, long the focus of international diplomacy but currently under threat.

On Wednesday in Gaza, Guterres said he had been struck by humanitarian conditions in the overcrowded and impoverished enclave, where an electricity crisis has worsened and clean water is lacking.

"I am deeply moved to be in Gaza today, unfortunately to witness one of the most dramatic humanitarian crises that I've seen in many years working as a humanitarian in the United Nations," Guterres said.

He later said it was "important to open the closures," in a reference to Israel's decade-long blockade of Gaza and its border with Egypt that has remained largely closed in recent years.

Guterres made the comments at a school run by the UN agency for Palestinian refugees, UNRWA, in the northern Gaza Strip.

At least 70 percent of Gazans are dependent upon international aid. UNRWA plays a major role in the strip, with the same percentage of the population classified as refugees.

Palestinian militants in Gaza and Israel have fought three wars since 2008.

Israel says the blockade is necessary to keep Islamist movement Hamas, which runs the enclave, from obtaining weapons or materials that could be used to make them.

The blockade also serves to isolate Hamas.

Guterres also made reference to Hamas's weaponry, saying "it is important to avoid the build-up of militantism that can also undermine the confidence between the two peoples."

UN officials say the enclave is fast becoming unliveable due to deteriorating humanitarian conditions.

Hamas welcomed Guterres's trip, calling on him to make "all efforts to lift the siege on the strip and end the suffering for two million Palestinians living in the largest prison in the world."

UN officials' contact with Hamas is limited and Guterres was not expected to meet directly with leaders of the group, which is considered a terrorist organisation by the United States and the European Union.

- Imperilled two-state solution -

Demonstrations also occurred during Guterres's visit to the strip.

At one protest, around 25 people held a fake coffin with a sign that said "Welcome to the largest prison in the world".

Dozens of people also demonstrated as Guterres's convoy crossed the border with Israel into Gaza, calling for action in support of Palestinian prisoners held by Israel. They included prisoners' relatives.

Before entering into the strip, Israeli officials gave Guterres a tour of the Gaza border area and he was shown a tunnel crossing from the enclave into Israel.

Such tunnels, used by Hamas for attacks in the past, are a major concern for Israel.

Guterres held talks with Israeli and Palestinian leaders in Jerusalem and Ramallah on Monday and Tuesday. He gave a speech in Tel Aviv later Wednesday before his departure.

His trip was meant in part to express strong support for the imperilled two-state solution to the Israeli-Palestinian conflict.

Israeli Prime Minister Benjamin Netanyahu heads what is seen as the most right-wing government in his country's history, and has signalled he has no intention of evacuating settlements in the occupied West Bank.

Israeli settlements are built on land the Palestinians see as part of their future state.

Prominent members of Netanyahu's government advocate annexing most of the West Bank, which would make an independent Palestinian state impossible.

US President Donald Trump has said he wants to reach the "ultimate deal", but he himself has cast doubt on the two-state solution, saying he could support a single state if this meant peace.

Palestinian president Mahmud Abbas is meanwhile unpopular and likely incapable of making major concessions, many analysts say.

His Fatah party, based in the West Bank, also remains deeply divided from Hamas.

Source: AFP