How can i comment inside xml file in android studio?

To comment inside xml file in android studio,

By Manually: put your coursor on line start then add " " symbol.

 

 
 

"<!--Comment in xml file-->"

 

By Keyboard short cuts:

just select which line of code you wan to comment then press keyboard keys

CTRL + SHIFT + /

 

5 Easy steps to setup Retrofit in Android App with Kotlin