Beijing must prepare to make the US “pay a cost it can’t stand” if it intervenes in the South China Sea dispute by force, a state newspaper editorial has warned, days before a court at The Hague rules on the territorial row between China and the Philippines.