The government often does not invest in stocks. 
Social Security  Implications of Government Stock Investing for the Trust Fund, the Federal Budget, and the Economy (GAO/AIMD/HEHS-98-74, April 22, 1998).