Beijing had accused foreign forces of fostering the pro-democracy Occupy Central movement in Hong Kong, where protesters demanded a right to nominate candidates for the territory's next leader.
The 79-day demonstration ended in mid-December with both Beijing and Hong Kong's leaders refusing to bow to the protesters' demands.
Xi was visiting Macau to mark the 15th anniversary of its return to Beijing and to host the swearing-in ceremony of Macau's newest chief, Chui Sai On. Chui was the only nominee for the position and was elected by a 400-person panel believed to be pro-Beijing.
In a message apparently aimed at Hong Kong, Xi said Macau has properly obeyed the "one country, two systems" policy and the Basic Law governing the special administrative region.
More From This Section
Beijing has repeatedly denounced Hong Kong's pro-democracy demonstration as illegal assemblies that had not only disrupted the territory's social order but also flaunted Beijing's authority.
Since Xi took power about two years ago, Beijing has ratcheted up rhetoric against foreign interference, even though China is becoming more intertwined with the world than ever.
Observers say Beijing is vilifying foreign powers and fostering anti-American sentiments to divert public anger at domestic issues and deflect criticism at the ruling Communist Party.