China urged stronger ties with Iran and called for dialogue, saying force cannot end the escalating Middle East conflict.