A top United Nations official said during a visit to Beirut on Saturday that he is concerned that Lebanon’s ports and airport might be taken out of service as Israel continues its offensive against the Lebanese militant group Hezbollah.

There are fears this would have serious implications for getting food supplies into the country.

“What I have seen and heard today is devastating, but the sense is that this can get much worse still, and that needs to be avoided,” said Carl Skau, deputy executive director of the UN World Food Programme (WFP), in an interview with The Associated Press.

He appealed for “all diplomatic efforts possible to try to find a political solution” to the war and for supply lines to remain open.

“We have huge concerns and there are many, but one of them is indeed that we need the ports and we need the supply routes to continue to be able to operate,” Mr Skau said.

In Gaza, where Israel has been at war with Hamas since the Palestinian militant group launched a deadly incursion into southern Israel a year ago, hunger has skyrocketed as humanitarian organisations have complained of major obstacles to getting food and other supplies into the blockaded enclave.

Mr Skau said he believes that Israeli authorities had given “commitments” that in Lebanon, the ports and airport would not be taken out of commission.

“But of course, this is a very changing environment. So we don’t take anything for granted,” he said.

Lebanese army soldiers deploy around a building hit by an Israeli airstrike, in Barja village, south of Beirut, on Saturday (Mohammed Zaatari/AP)

In recent weeks, Israel has escalated its aerial bombardment and launched a ground invasion in Lebanon.

About 1.2 million people are displaced in Lebanon, according to government estimates, of whom some 200,000 are staying in collective shelters, where the WFP is supplying them with meals.

Mr Skau noted that food prices have already increased as a result of the conflict, although Lebanon’s sole international airport and its main sea ports are still functioning.

The WFP had stocked up enough food to supply one million people – about one-fifth of Lebanon’s population – for up to a month, he said, but now is trying to build up supplies that could feed that number through to the end of the year.

“We will, of course, be having to restock, and for that, the ports will be critical and other supply lines,” he said.

The agency has been bringing food in from Jordan through Syria into Lebanon by land, he said. Earlier this month, an Israeli strike on the road to the main border crossing between Lebanon and Syria cut off access to that crossing.

Since the Masnaa crossing was struck, people fleeing Lebanon have continued to cross on foot, while vehicles – including those bringing supplies for the WFP – have had to use another crossing in the far north of the country, making the journey more arduous and expensive.

Mr Skau appealed for the Masnaa crossing to be reopened.

Lebanese General Security, which oversees border crossings, has recorded 320,184 Syrians and 117,727 Lebanese citizens crossing into Syria since September 23, when the major escalation in Israeli airstrikes in Lebanon started.

The influx comes at a time when the WFP has reduced its food assistance in Syria as a result of funding shortages.

“We’ve gone over the past two years from assisting some six million people to around 1.5 (million),” Mr Skau said. “And with that, of course, our capacity has been tightened and now we need to scale up again.”