BEIJING—Chinese authorities are training their sights on a new set of targets: economists, analysts and business reporters with gloomy views on the country’s economy.

Securities regulators, media censors and other government officials have issued verbal warnings to commentators whose public remarks on the economy are out of step with the government’s upbeat statements, according to government officials and commentators with knowledge of the matter.

...