It is used when rendering the twig templates for that form. It lets you override the default widgets but only for that particular form by specifying a block like, for example:
{% block sample_staticbundle_commenttype_widget %}