It seems to make sense to have #4 done as a prerequisite so that the programming language is known. Then, depending on the programming language, set the character sequence appended to the beginning of a line (e.g. // or #) according to the programming language. This sequence should be added automatically when hitting cmd + / in the Jupyter Notebook. We might be able to set this in the kernelspec?