The lines in the file :
-A INPUT -m state --state NEW -m tcp -p tcp --dport 2000 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 2001 -j ACCEPT -A
Try this sed command,
sed
sed -i '/^#.* 2001 /s/^#//' file