China on Thursday rejected comments by Salvadoran President-elect Nayib Bukele, who accused the Asian power of not playing by the rules and intervening in other nations’ affairs.