Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Ada Code > Generating Ada code > Concepts > Generating code comments (Ada code)
  
Generating code comments (Ada code)
ACS generates code comments.
Generating comments
ACS generates the text of an item's Description property as an Ada comment that precedes the code generated for that item. Each line of the Description is generated as a separate comment.
For example, the Description property of Class1 is set to 'Description of Class1'. If you generate Class1, the package specification file contains the Description as an Ada comment.
Modeler
Code
-- Description of Class1
package Package1.Class1 is
...
end Package1.Class1;