Add comment with Inline Entity Form while adding content I'm creating a content type. and want to add comment for the same content on same form of add content.

I've installed Entity Reference, and selected Entity reference as Field type &amp; selected Inline entity form - multiple values as the widget. I've chosen Selected Target type Comment under FIELD SETTINGS and I'm still not getting the comment section on content addition form.

Why is it not showing? Is there another way to show comment on content addition form?
Inline Entity Form doesn't support Comment forms out of the box. 

Part of the process of building the IEF widget is a call to inline_entity_form_get_controller() which will retrieve a controller class from the entity metadata. As you can see in IEF's hook_entity_info_alter() invocation, it only adds this controller metadata for node, taxonomy, commerce product, &amp; commerce line item entities. 

Theoretically, you could build your own custom module that could:


Invoke hook_entity_info_alter() to add support for comment entities.
Build your own custom class that extends EntityInlineEntityFormController(e.g. CommentInlineEntityFormController) to be evoked for form processing.


Keep in mind this is an unusual use case, a comment entity is predicated on a its parent entity pre-existing before it's created; you're likely to run against logic that might prevent this (e.g. database integrity checks) . 

It might be easier just to create your own custom node type entity that's configured just to appear like comments on your nodes.