It added that "security and prosperity" across the Asia-Pacific region was "an obligation and responsibility" shared by all parties.
"The military will continue to... strengthen our self-defence capabilities and respond to regional threats," the ministry added.
The Shandong has sailed through the Taiwan Strait several times in recent months, as Beijing ramps up military pressure on the self-ruled island, which it claims as its own territory.
Read breaking news, latest...
See more
Read breaking news, latest updates from US, UK, Pakistan and other countries across the world on topics related to US Election, politics,crime, along with national affairs.
News/World News/ China's naval formation passes through Taiwan Strait: Taipei