Does this method for blocking certain site content still work for adsense?

<!-- google_ad_section_start(weight=ignore) -->
Unwanted text
<!-- google_ad_section_end -->

<!-- google_ad_section_start -->
wanted text
<!-- google_ad_section_end -->