Comments left on a student's answer while marking are now readable and writable over the API, under /exams/{id}/sessions/{sessionId}/comments — list, create, update and delete.
Each comment carries its visibility, so you can tell the notes teachers leave for each other apart from the feedback the student sees.