As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure…