--Originally published at Programming Fundaments
Comments are, as the name implies, annotacion that you can add up to your work, as such these will not affect your strings in any way , these are just add on that you can use at any given time.
Simply by using “#” python will ignore the text after the sign until the end of the line, python does not take as part of the code.