Yes, you do. For the use of "which", in this case, is for a nonrestrictive clause (i.e. the capital of China). By this I mean that, if you take out that part of the sentence, it won't change the meaning of it. It'll just make it less informative. You use "which" to add additional information about the previous part of the sentence.
Take for example: "My cat Gatticus, which happens to be two years old, meows whenever he's hungry".