China stocks ended higher on Friday, posting their second straight weekly gain, as investors were encouraged by recent data pointing to a solid recovery in the world's second-largest economy.