Li, speaking at a joint news conference in Beijing with Merkel, said China wanted to prevent unrest in the former British colony, which has been convulsed by protests in the past few weeks.