Your Masters will appear first on your resume, so the recipient will see you are capable of getting good marks before they see your bad marks for your undergraduate degree. When you state the marks of the latter, perhaps include a sentence along the lines of, "I was seriously ill in hospital during this period, and so got uncharacteristically low marks." Any further explanation (which should not be necessary) can be left for the interview.