"The Secretary General has long been encouraging both leaders of the two countries to engage in dialogue. He obviously welcomes this visit and this step in the right direction and he hopes that the dialogue will be maintained and strengthened," a UN spokesperson told PTI when asked about the UN chief's response to Modi's visit to Pakistan, the first by an Indian Prime Minister in more than a decade.
Earlier in the day, he had called Sharif to wish him on his 66th birthday.
The visit took everyone by surprise in India and Pakistan.
It was the top story on the website of the New York Times, which said the visit came as the "estranged, nuclear- armed countries are again trying to revive a stalled dialogue."
More From This Section
Modi was welcomed at the Lahore airport by Sharif, who the report said "has been an advocate of a better relationship with India and is eager to enhance trade ties.
"But his desires have been viewed with suspicion and disapproval by the powerful Pakistani military establishment, which remains focused on the resolution of the longtime dispute over Kashmir," it added.
The Paris meeting was the first between the two leaders after July when they had met in the Russian city of Ufa and had agreed that their National Security Advisers would meet.
The two leaders had attended the UN General Assembly session in September but did not meet even though they stayed in the same hotel. Modi and Sharif came under one roof during a peacekeeping summit held on the sidelines of the General Assembly, but only waved at each other and did not speak or shake hands.