He also said he had a dream of seeing ‘Indian Kashmir free’ and hoped that it would happen during his lifetime.
"Kashmir is a flashpoint and can trigger a fourth war between the two nuclear powers at any time," he was quoted as saying by the Dawn daily in his brief address to the budget session of the 'Azad Jammu and Kashmir Council' in Pakistan-occupied Kashmir on Tuesday.
But the press release issued by his office on Tuesday night did not carry the statement.
The statement quoted Sharif as saying that the Kashmir issue should be settled according to the aspirations of the people and the United Nations resolutions as peace in the region was not possible without it.
"The prime minister said that he had a dream of seeing held-Kashmir free from the Indian occupation and desired that this dream could turn into reality during his lifetime," the statement said.
About Indo-Pak relations, the prime minister categorically reiterated that it was India which indulged in the arms race, it said.
"We were drawn into the arms race by India," he said.
"If we had a choice, we could have diverted these expenditures to the social sector uplift and eradication of poverty," he emphasised.
Sharif also expressed his satisfaction over the improvement of situation on the Line of Control.
Sharif also "expressed his dismay at the contradictory stance taken by the Indian government" in addressing the core issue of "occupied" Kashmir.
During his meeting with the leadership of the All Parties Hurriyat Conference in Islamabad after presiding over a meeting of AJK Council as its chairman, the prime minister said that it was his desire that the issue must be resolved at the earliest.
Underlining the historic aspects of the Kashmir issue, the prime minister said that it was a long standing issue and must be settled in accordance with the UN resolutions.
"I have raised the issue with United States President Barack Obama and he also agreed in principle that the issue should be resolved in accordance with the UN resolutions," he said.
The prime minister said that whatever he suggested for the resolution of the issue had sincerity and weight, adding, "You have already seen our commitment to the issue in past and it is our deep desire that the issue should be taken forward towards its resolution in accordance with the desires of the Kashmiri people."
"On the other hand, the Indian government's repeated declaration of terming held-Kashmir as its integral part despite UN resolutions on the subject shows its lack of sincerity to resolve the matter," he added.
Sharif asked the Kashmiri leadership to offer their suggestions and proposals for expediting the resolution of this long-standing bone of contention between the two neighbouring countries.
He also urged the international community to play its due role in the settlement of Kashmir issue, the statement said.
PHOTOS: India and Russia in COMBAT mode near Pakistan border
When India-Pakistan almost resolved the Kashmir issue
Won't interfere over Kashmir; India-Pak can sort it on their own: US
'An India-Pakistan war in future would be Armageddon'
2013: Can we survive Indo-Pak war, Iran nukes?