The most important rule for commas is that you use them correctly and consistently – i.e., that you use commas in the same way throughout the assignment.
If you need help on how to use commas correctly in English, you can find guidance on APA style or on Grammarly.
The information about formalities is written in collaboration between Center for Educational Development (CED) and AU Library and is general guidelines for formal requirements. They do not replace the provisions in your academic regulations, your lecturers' guidance or information on your course's website. If in doubt ask your supervisor.