China's local governments have increased their efforts to attract foreign investment this year, with the number of new foreign-invested enterprises increasing 31.1% year on year in the January-April period, China's top economic planner said Wednesday.