China on Tuesday urged India and Pakistan to "exercise restraint" and asked New Delhi to carry out its fight against terrorism through international cooperation, hours after Indian fighter jets struck Jaish-e-Mohammed's biggest camp in Pakistan in a pre-dawn attack.