Spokesman Gopal Baglay told reporters that a meeting with Mr Xi had never been on Mr Modi's agenda.
China's foreign ministry had said the atmosphere was not right for a meeting.
Troops have been facing off along one stretch of India and China's shared border along the Himalayas.
Indian media reports said that despite the government's position that a meeting between the two sides was never planned, China conclusively ruling it out was being seen as a hardening of its stance.
A potential meeting between Mr Xi and Mr Modi was being seen as a way of defusing tensions.
Both countries have been engaging in sharp rhetoric, after Indian troops stopped Chinese engineers from extending a border road through a plateau known as Doklam in India and Donglang in China.
The plateau, which lies at a junction between China, the north-eastern Indian state of Sikkim and Bhutan, is currently disputed between Beijing and Thimphu.
India supports Bhutan's claim over it.
It is one of the longest stand-offs between the two sides since a war in 1962, where China defeated India.
Vivo sub-brand iQOO has launched the company’s latest 5G smartphone- iQOO Z1x 5G in China on July 9, 2020.
Honor has just launched the Honor 9A smartphone for the global markets and the price starts from €149.90 (US$ 169.6 / Rs. 12,810). Read on to know more.
Honor has just confirmed the launch date of the company's next new 5G smartphone- Honor X10 Max on Weibo.
Realme is all set to launch its new Realme C11 smartphone with MediaTek Helio G35 SoC in Malaysia.
Realme has launched its new Nazro series smartphone- Realme Nazro 10A alongside the Realme Narzo 10 in India. The Next sale of Realme Nazro 10A will be held on June 23 via Flipkart and the Realme India website.
Vivo has just launched the company's latest smartphone Vivo V19 in India as expected.
Realme has launched the company’s latest Nazro series smartphones- Realme Nazro 10 and Nazro 10A in India.
Here is the first look of LG's new entry-level/midrange smartphone - LG Stylo 6 which was shared by reliable leakster Evan Blass.
Xiaomi India has just unveiled it's latest flagship killer- Xiaomi Mi 10 5G smartphone in India.
After several teasers and rumors, LG has finally unveiled the company's latest 5G smartphone- LG Velvet on May 7 in South Korea. The company has also revealed the pricing and availability details of the phone.