China on Friday welcomed the exchange of greetings between Prime Minister Narendra Modi and his Pakistani counterpart Imran Khan following the BJP's sweeping victory in India's general elections, expressing hope that the two nations would continue to show goodwill and resolve their differences through dialogue.