China plans to enact its first legislation to curb soil pollution as policy makers ready new laws amid ballooning interest in environmentalism.