BEIJING, Jan 18 (Reuters) - China has the ability and foundation to ensure the safe supply of grain, despite the challenges the market is facing, a National Development and Reform Commission spokesperson told a news briefing in Beijing on Wednesday. (Reporting by Joe Cash; Editing by Kim Coghill)