China on Sunday allowed pension funds managed by local governments to invest in the stock market for the first time.