China has warned G7 nations against using China-related issues for their own agendas ahead of Sunday’s summit.