You can edit the file from first link.
https://askubuntu.com/questions/73864/how-to-modify-an-invalid-etc-sudoers-file
If it fails, try the options, (mostly first one) as in below link.
Taking IT to the Next Level
You can edit the file from first link.
https://askubuntu.com/questions/73864/how-to-modify-an-invalid-etc-sudoers-file
If it fails, try the options, (mostly first one) as in below link.