With the release of Business Central Wave 1 2020 XML comments is available in AL code.
If you would like to add documentation to your code then you can use XML documentation .The documentation comment must immediately before the object such as codeunit,table,functions etc.