Xi made the comments during a phone call with his South Africa counterpart Cyril Ramaphosa, CCTV reported.
South Africa is mulling legal options if Russian President Vladimir Putin attends a BRICS emerging economies summit in Johannesburg in August.
Putin is wanted by the International Criminal Court for allegedly kidnapping Ukrainian children in that nation's conflict zone for "placement" with Russians.
Because South Africa is a signatory to the agreement that established the ICC, it is, on paper, obliged to hand Putin over should he come to that nation.
The Chinese report made no mention of Putin or his status. .