A beans.xml file which contains only a comments, makes the deploy to fail on WildFly.
Tested with WildFly 9, 10 and 10.1 + CDI 2 patch.