BEIJING—Cyberattacks could be "as serious as a nuclear bomb," according to a top Chinese general, who rejected suggestions that the Chinese military is behind cyberspying aimed at Western companies.

Gen. Fang Fenghui, chief of staff of the People's Liberation Army, made the comments after meeting with his U.S. counterpart Martin Dempsey, chairman of the Joint Chiefs of Staff.

Cybersecurity...