@Carron Muleya
Since you have broken your sudoers file you will not be able to fix it on the running VM. Please create a snapshot of your OS disk. Then create a disk from snapshot and attach it to a recovery VM. On the recovery VM you can mount the root directory of the broken OS. You will be able to get root on the recovery VM and edit the sudoers file. Once fixed you can swap the OS disk of your VM to this one that has been repaired.
Hope this helps. Please let me know if you are still having issues and we will be happy to assist.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.