how to comment all lines in python code example

Example 1: python multiline comment

def increase_salary(sal,rating,percentage):
    """ increase salary base on rating and percentage
    rating 1 - 2 no increase
    rating 3 - 4 increase 5%
    rating 4 - 6 increase 10%
 
    """

Example 2: multiline comment in python

# This a comment
#Or This
#For a comment written in more than a line
#You just add triple quotes without assigning it a variable or putting it in a
#print statement
'''
Like This
But only for Python
As far as i know
'''

Example 3: python multi comment

"""Put comments inside triple quotes"""

Example 4: comment all selected lines in python

Select relevant lines to be commented, then use ctrl+/