I have another problem If library is b4xlib, How should we do? (My thinking, we must create xml forB4Xlib before)
It is better to ask a new question is new post.
For b4xlib, it is NOT a must to create an XML file.
However, if you have an xml file, you can put it inside the XML folder so you can read it by
B4X Object Browser.
To add your own comment into b4xlib, you need to extract the bas files. After you added the comment, put the file back into the b4xlib.
eg. OkhttpUtils2
Take note that new update of B4A or B4J will overwrite the internal libraries.